package GUI;

import javax.swing.JPanel;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.FlowLayout;
import javax.swing.JTextArea;
import javax.swing.JScrollPane;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import javax.swing.JButton;

public class NeuerBenutzer extends JPanel {
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;

	/**
	 * Create the panel.
	 */
	public NeuerBenutzer() {
		setLayout(new BorderLayout(0, 0));
		
		JPanel panel = new JPanel();
		add(panel);
		panel.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
		
		JPanel panel_1 = new JPanel();
		panel.add(panel_1);
		panel_1.setLayout(new GridLayout(0, 1, 0, 0));
		
		JLabel lblBenutzerAnlegen = new JLabel("Benutzer anlegen");
		lblBenutzerAnlegen.setHorizontalAlignment(SwingConstants.CENTER);
		panel_1.add(lblBenutzerAnlegen);
		
		JPanel panel_2 = new JPanel();
		panel_1.add(panel_2);
		
		JLabel lblName = new JLabel("Name");
		panel_2.add(lblName);
		
		textField = new JTextField();
		panel_2.add(textField);
		textField.setColumns(10);
		
		JPanel panel_4 = new JPanel();
		panel_1.add(panel_4);
		
		JLabel lblGeschlecht = new JLabel("Geschlecht");
		panel_4.add(lblGeschlecht);
		
		textField_2 = new JTextField();
		textField_2.setColumns(1);
		panel_4.add(textField_2);
		
		JPanel panel_3 = new JPanel();
		panel_1.add(panel_3);
		
		JLabel lblGewicht = new JLabel("Gewicht");
		panel_3.add(lblGewicht);
		
		textField_1 = new JTextField();
		panel_3.add(textField_1);
		textField_1.setColumns(3);
		
		JButton btnbernehmen = new JButton("\u00FCbernehmen");
		panel_1.add(btnbernehmen);

	}

}
